﻿using IceDog.Practice.WinForm.Common;
using IceDog.Practice.WinForm.File;
using IceDog.Practice.WinForm.IceDogSocket;
using IceDog.Practice.WinForm.UserControls;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace IceDog.Practice.WinForm
{
    public partial class FormMain : Form
    {
        public FormMain()
        {
            InitializeComponent();
        }


        private void BtnButtonTest_Click(object sender, EventArgs e)
        {
            new FormButtonTest().ShowDialog();
        }

        private void ButtonTextBoxTest_Click(object sender, EventArgs e)
        {
            new FormFile().ShowDialog();
        }
        
        private void buttonRTB_Click(object sender, EventArgs e)
        {
            new FormRichTextBoxTest().ShowDialog();
        }
        private void buttonListBox_Click(object sender, EventArgs e)
        {
            new FormListBoxTest().ShowDialog();
        }

        private void buttonListView_Click(object sender, EventArgs e)
        {
            new FormListViewTest().ShowDialog();
        }

        private void buttonTabControl_Click(object sender, EventArgs e)
        {
            new FormTabControlTest().ShowDialog();
        }

        private void buttonMenu_Click(object sender, EventArgs e)
        {
            new FormMenuTest().ShowDialog();
        }

        private void buttonFormSocketMain_Click(object sender, EventArgs e)
        {
            new FormSocketMain().ShowDialog();
        }
    }
}
